import axios from './axios.js'

var categoryList = function() {
  return axios.$http({
    url: 'https://api.ymduo.com/category/categoryList',
    data: { category_id: 0 },
    type: 'post'
  })
}
var indexPC = function() {
  return axios.$http({
    url: 'https://api.ymduo.com/Home/IndexSep/indexPC',
    data: {},
    type: 'post'
  })
}
async function say() {
  await categoryList().then(res => {
    console.log(res)
  })
  await indexPC().then(res => {
    console.log(res)
  })
  console.log('成功')
}
say()
